// index.js

Page({
  data: {
    text:['【新品】当季春笋','【新品】散养土鸡蛋','【新品】野生河鲫鱼','手工油焖笋','有机大白菜','散养土鸡']
  },
  tomenu(){
    wx.switchTab({
      url: '/pages/restaurant/restaurant',
    })
  },
  toshopping(){
    wx.switchTab({
      url: '/pages/shopping/shopping',
    })
  },
  tovip(){
    wx.navigateTo({
      url: '/pages/vip/vip',
    })
  },
  todetails(){
    wx.navigateTo({
      url: '/pages/details/details',
    })
  },
})